package com.bds.btcdc.web.model;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import java.math.BigDecimal;

/**
 * Created by DongChenchen on 2018/4/25 0025
 * 交易所
 */
@Table("t_exchange")
public class TExchange {
    @Id
    private Long id;
    @Column
    private String exchange_name;
    @Column
    private String code;
    @Column
    private String country;//交易所所属国家
    @Column
    private String url;//网站
    @Column
    private BigDecimal rate;//默认费率
    @Column
    private String rate_unit;//收费计量单位
    @Column
    private Boolean need_fly;//是否需要翻墙
    @Column
    private Integer state;





    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getExchange_name() {
        return exchange_name;
    }

    public void setExchange_name(String exchange_name) {
        this.exchange_name = exchange_name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public BigDecimal getRate() {
        return rate;
    }

    public void setRate(BigDecimal rate) {
        this.rate = rate;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Boolean getNeed_fly() {
        return need_fly;
    }

    public void setNeed_fly(Boolean need_fly) {
        this.need_fly = need_fly;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getRate_unit() {
        return rate_unit;
    }

    public void setRate_unit(String rate_unit) {
        this.rate_unit = rate_unit;
    }
}
